 
<!-- <button type="submit" style="width : 100px;float:right" class="btn btn-primary" (click)="doLogin()">
  To家庭
</button><div class="tableStyle"> -->



<div class="tableStyle" style="margin-left: 0px;">

  <data-table class="question-bank" [isLink]="isLink" (changepage)="changepage($event)"  [buttonList]="btnList"
    [title]="title" [page]="page"   [deleteButton]="btnDelete" [addButton]="btnAdd" [editButton]="btnEdit"  [data]="data" [buttonList]="btnList"
    [arr]="arrbutes" [ButtonHeaders]="btnHeaders" [buttonstyle]="btnstyle" [sizeList]="sizeList" [paging]="paging" [pageSize]="pageSize"
     (operat)="operatData($event,modal)"  (deletesEmit)="deleteDatas($event)" [total]="total">
  </data-table>
   
 

</div>

<!--删除提示框-->
  <p-confirmDialog header="提示" icon="fa fa-question-circle" width="425"></p-confirmDialog>

  <!-- 添加薪资信息 style="visibility:hidden" visible-->
  <!--<div #addModal class="modal-dialog" (click)="draggable()" style="width:700px">-->
   <div #addModal class="modal-dialog"   style="width:700px">
    <div class="modal-content">
      <div class="model-header">
        <button type="button" class="close" (click)="close(addModal)">×
        </button>
        <h4 class="modal-title">
          添加薪资信息
        </h4>
      </div>
      <div class="modal-body">
        <form role="form" class="form-horizontal" #addform="ngForm">
          <div class="form-group">
          
            <div class="col-sm-6 form-inline">
              <label>用户公司id：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="salaryInfo.pcRalationId" name="pcRalationId">
              </label>
            </div>
          </div>
          <div>
            <div class="col-sm-6 form-inline">
              <label>薪资变动时间：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="salaryInfo.salaryChangeTime" name="salaryChangeTime">
              </label>
            </div>
            <div class="col-sm-6 form-inline">
              <label>薪资:</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="salaryInfo.salary" name="salary">
              </label>
            </div>
          </div>
          <div>
            <div class="col-sm-6 form-inline">
              <label>每年变化次数：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="salaryInfo.timesPerYear" name="timesPerYear">
              </label>
            </div>
            <div class="col-sm-6 form-inline">
              <label>职位：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="salaryInfo.possesion" name="possesion">
              </label>
            </div>
          </div>
          <div>
            <div class="col-sm-6 form-inline">
              <label>福利：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="salaryInfo.wellfare" name="wellfare">
              </label>
            </div>
            <div class="col-sm-6 form-inline">
              <label>备注：</label>
              <label>
                <input type="text" class="form-control" [(ngModel)]="salaryInfo.remark" name="remark">
              </label>
            </div>
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <!-- [disabled]="!addform.form.valid" -->
        <button type="button" class="btn btn-primary" (click)="add(addModal)">
          添加
        </button>
        <button type="button" class="btn btn-default" (click)="close(addModal)">
          取消
        </button>
      </div>
    </div>
  </div>